package preinpostorder;

public class Tnode {

	Object data;
	Tnode leftTnode;
	Tnode rightTnode;

	public Tnode() {
		this.data = null;
		this.leftTnode = null;
		this.rightTnode = null;
	}

	public Tnode(Object data) {
		this.data = data;
		this.leftTnode=null;
		this.rightTnode=null;
	}

	public Tnode(Object data, Tnode left, Tnode right) {
		this.data = data;
		this.leftTnode = left;
		this.rightTnode = right;
	}

}
